<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Geo3DML-CPP: include/g3dvtk/MultiPoint.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Geo3DML-CPP
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.12.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_6064c62b02fe9c18fce91bd1b2abc707.html">g3dvtk</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="headertitle"><div class="title">MultiPoint.h</div></div>
</div><!--header-->
<div class="contents">
<a href="g3dvtk_2_multi_point_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span> </div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="preprocessor">#include &lt;<a class="code" href="geo3dml_2_multi_point_8h.html">geo3dml/MultiPoint.h</a>&gt;</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="preprocessor">#include &lt;vtkPolyData.h&gt;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="preprocessor">#include &lt;<a class="code" href="_shape_helper_8h.html">g3dvtk/ShapeHelper.h</a>&gt;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span> </div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceg3dvtk.html">g3dvtk</a> {</div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span> </div>
<div class="foldopen" id="foldopen00009" data-start="{" data-end="};">
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_multi_point.html">    9</a></span>    <span class="keyword">class </span><a class="code hl_class" href="classg3dvtk_1_1_multi_point.html">MultiPoint</a> : <span class="keyword">public</span> <a class="code hl_class" href="classgeo3dml_1_1_multi_point.html">geo3dml::MultiPoint</a> {</div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_multi_point.html#ab065756b3ab106c156477196089ef739">   11</a></span>        <a class="code hl_function" href="classg3dvtk_1_1_multi_point.html#ab065756b3ab106c156477196089ef739">MultiPoint</a>();</div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_multi_point.html#addf83159cac86feb7166c5987a0c0630">   12</a></span>        <span class="keyword">virtual</span> <a class="code hl_function" href="classg3dvtk_1_1_multi_point.html#addf83159cac86feb7166c5987a0c0630">~MultiPoint</a>();</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span> </div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span> </div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_multi_point.html#a7cd503685f1fb5a7ea98e371a71f69b7">   17</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classg3dvtk_1_1_multi_point.html#a7cd503685f1fb5a7ea98e371a71f69b7">AddPoint</a>(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, <span class="keywordtype">double</span> z);</div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_multi_point.html#afa780a95ff26be6f3aadd755d5d7f380">   18</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="classg3dvtk_1_1_multi_point.html#afa780a95ff26be6f3aadd755d5d7f380">GetPointCount</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_multi_point.html#a3f7a5f83216c8ac08ff0035c2649dc14">   19</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classg3dvtk_1_1_multi_point.html#a3f7a5f83216c8ac08ff0035c2649dc14">GetPointAt</a>(<span class="keywordtype">int</span> i, <span class="keywordtype">double</span>&amp; x, <span class="keywordtype">double</span>&amp; y, <span class="keywordtype">double</span>&amp; z) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span> </div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_multi_point.html#a2cab676e290e6e99b49c42062822acaa">   24</a></span>        <span class="keyword">virtual</span> <a class="code hl_struct" href="structgeo3dml_1_1_box3_d.html">geo3dml::Box3D</a> <a class="code hl_function" href="classg3dvtk_1_1_multi_point.html#a2cab676e290e6e99b49c42062822acaa">GetMinimumBoundingRectangle</a>() <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_multi_point.html#a3dc1421c1ee7eedda0f51d82ffd5b17c">   25</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classg3dvtk_1_1_multi_point.html#a3dc1421c1ee7eedda0f51d82ffd5b17c">SetProperty</a>(<a class="code hl_class" href="classgeo3dml_1_1_shape_property.html">geo3dml::ShapeProperty</a>* prop, <a class="code hl_enumeration" href="classgeo3dml_1_1_shape_property.html#ab000da11fd54f0f7ec1fdffd2a1c8366">geo3dml::ShapeProperty::SamplingTarget</a> t);</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_multi_point.html#adbc32ef331f3fac9845d173157290a49">   26</a></span>        <span class="keyword">virtual</span> <a class="code hl_class" href="classgeo3dml_1_1_shape_property.html">geo3dml::ShapeProperty</a>* <a class="code hl_function" href="classg3dvtk_1_1_multi_point.html#adbc32ef331f3fac9845d173157290a49">GetProperty</a>(<a class="code hl_enumeration" href="classgeo3dml_1_1_shape_property.html#ab000da11fd54f0f7ec1fdffd2a1c8366">geo3dml::ShapeProperty::SamplingTarget</a> t) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span> </div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_multi_point.html#ac2daad5c3a60286ebacc13be22ab9357">   29</a></span>        vtkPolyData* <a class="code hl_function" href="classg3dvtk_1_1_multi_point.html#ac2daad5c3a60286ebacc13be22ab9357">GetPolyData</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span>    <span class="keyword">private</span>:</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_multi_point.html#a892ae86144c67f22bc6cc5a9adc7292e">   32</a></span>        vtkSmartPointer&lt;vtkPolyData&gt; <a class="code hl_variable" href="classg3dvtk_1_1_multi_point.html#a892ae86144c67f22bc6cc5a9adc7292e">polyData_</a>;</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_multi_point.html#a638bbe7037bb6e47ee0e65ed38d987d6">   33</a></span>        <a class="code hl_class" href="classg3dvtk_1_1_shape_helper.html">ShapeHelper</a> <a class="code hl_variable" href="classg3dvtk_1_1_multi_point.html#a638bbe7037bb6e47ee0e65ed38d987d6">shapeHelper_</a>;</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span>    };</div>
</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span>}</div>
<div class="ttc" id="a_shape_helper_8h_html"><div class="ttname"><a href="_shape_helper_8h.html">ShapeHelper.h</a></div></div>
<div class="ttc" id="aclassg3dvtk_1_1_multi_point_html"><div class="ttname"><a href="classg3dvtk_1_1_multi_point.html">g3dvtk::MultiPoint</a></div><div class="ttdef"><b>Definition</b> MultiPoint.h:9</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_multi_point_html_a2cab676e290e6e99b49c42062822acaa"><div class="ttname"><a href="classg3dvtk_1_1_multi_point.html#a2cab676e290e6e99b49c42062822acaa">g3dvtk::MultiPoint::GetMinimumBoundingRectangle</a></div><div class="ttdeci">virtual geo3dml::Box3D GetMinimumBoundingRectangle() const override</div><div class="ttdoc">计算几何对象的最小外包矩形.</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_multi_point_html_a3dc1421c1ee7eedda0f51d82ffd5b17c"><div class="ttname"><a href="classg3dvtk_1_1_multi_point.html#a3dc1421c1ee7eedda0f51d82ffd5b17c">g3dvtk::MultiPoint::SetProperty</a></div><div class="ttdeci">virtual void SetProperty(geo3dml::ShapeProperty *prop, geo3dml::ShapeProperty::SamplingTarget t)</div><div class="ttdoc">设置几何对象关联的属性场对象。</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_multi_point_html_a3f7a5f83216c8ac08ff0035c2649dc14"><div class="ttname"><a href="classg3dvtk_1_1_multi_point.html#a3f7a5f83216c8ac08ff0035c2649dc14">g3dvtk::MultiPoint::GetPointAt</a></div><div class="ttdeci">virtual void GetPointAt(int i, double &amp;x, double &amp;y, double &amp;z) const</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_multi_point_html_a638bbe7037bb6e47ee0e65ed38d987d6"><div class="ttname"><a href="classg3dvtk_1_1_multi_point.html#a638bbe7037bb6e47ee0e65ed38d987d6">g3dvtk::MultiPoint::shapeHelper_</a></div><div class="ttdeci">ShapeHelper shapeHelper_</div><div class="ttdef"><b>Definition</b> MultiPoint.h:33</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_multi_point_html_a7cd503685f1fb5a7ea98e371a71f69b7"><div class="ttname"><a href="classg3dvtk_1_1_multi_point.html#a7cd503685f1fb5a7ea98e371a71f69b7">g3dvtk::MultiPoint::AddPoint</a></div><div class="ttdeci">virtual void AddPoint(double x, double y, double z)</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_multi_point_html_a892ae86144c67f22bc6cc5a9adc7292e"><div class="ttname"><a href="classg3dvtk_1_1_multi_point.html#a892ae86144c67f22bc6cc5a9adc7292e">g3dvtk::MultiPoint::polyData_</a></div><div class="ttdeci">vtkSmartPointer&lt; vtkPolyData &gt; polyData_</div><div class="ttdef"><b>Definition</b> MultiPoint.h:32</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_multi_point_html_ab065756b3ab106c156477196089ef739"><div class="ttname"><a href="classg3dvtk_1_1_multi_point.html#ab065756b3ab106c156477196089ef739">g3dvtk::MultiPoint::MultiPoint</a></div><div class="ttdeci">MultiPoint()</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_multi_point_html_ac2daad5c3a60286ebacc13be22ab9357"><div class="ttname"><a href="classg3dvtk_1_1_multi_point.html#ac2daad5c3a60286ebacc13be22ab9357">g3dvtk::MultiPoint::GetPolyData</a></div><div class="ttdeci">vtkPolyData * GetPolyData() const</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_multi_point_html_adbc32ef331f3fac9845d173157290a49"><div class="ttname"><a href="classg3dvtk_1_1_multi_point.html#adbc32ef331f3fac9845d173157290a49">g3dvtk::MultiPoint::GetProperty</a></div><div class="ttdeci">virtual geo3dml::ShapeProperty * GetProperty(geo3dml::ShapeProperty::SamplingTarget t) const</div><div class="ttdoc">取几何对象关联属性场。</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_multi_point_html_addf83159cac86feb7166c5987a0c0630"><div class="ttname"><a href="classg3dvtk_1_1_multi_point.html#addf83159cac86feb7166c5987a0c0630">g3dvtk::MultiPoint::~MultiPoint</a></div><div class="ttdeci">virtual ~MultiPoint()</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_multi_point_html_afa780a95ff26be6f3aadd755d5d7f380"><div class="ttname"><a href="classg3dvtk_1_1_multi_point.html#afa780a95ff26be6f3aadd755d5d7f380">g3dvtk::MultiPoint::GetPointCount</a></div><div class="ttdeci">virtual int GetPointCount() const</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_shape_helper_html"><div class="ttname"><a href="classg3dvtk_1_1_shape_helper.html">g3dvtk::ShapeHelper</a></div><div class="ttdef"><b>Definition</b> ShapeHelper.h:8</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_multi_point_html"><div class="ttname"><a href="classgeo3dml_1_1_multi_point.html">geo3dml::MultiPoint</a></div><div class="ttdef"><b>Definition</b> MultiPoint.h:7</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_shape_property_html"><div class="ttname"><a href="classgeo3dml_1_1_shape_property.html">geo3dml::ShapeProperty</a></div><div class="ttdoc">几何对象关联的属性场。 @detials 属性场的定义域可以是几何对象的顶点集、边集、面片集或者体元集；其值域可以包含多个属性字段。属性字段规定了其取值类型、无效值等信息。 ShapeProperty ...</div><div class="ttdef"><b>Definition</b> ShapeProperty.h:12</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_shape_property_html_ab000da11fd54f0f7ec1fdffd2a1c8366"><div class="ttname"><a href="classgeo3dml_1_1_shape_property.html#ab000da11fd54f0f7ec1fdffd2a1c8366">geo3dml::ShapeProperty::SamplingTarget</a></div><div class="ttdeci">SamplingTarget</div><div class="ttdoc">属性场在几何对象上的采样位置。</div><div class="ttdef"><b>Definition</b> ShapeProperty.h:15</div></div>
<div class="ttc" id="ageo3dml_2_multi_point_8h_html"><div class="ttname"><a href="geo3dml_2_multi_point_8h.html">MultiPoint.h</a></div></div>
<div class="ttc" id="anamespaceg3dvtk_html"><div class="ttname"><a href="namespaceg3dvtk.html">g3dvtk</a></div><div class="ttdef"><b>Definition</b> Actor.h:13</div></div>
<div class="ttc" id="astructgeo3dml_1_1_box3_d_html"><div class="ttname"><a href="structgeo3dml_1_1_box3_d.html">geo3dml::Box3D</a></div><div class="ttdef"><b>Definition</b> Box3D.h:7</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
